#!/bin/bash
#设置读取1个字符
#read -p "您确定要删除数据吗?(请输入y/n)" -n 1 rep
read -n 1 -p "您确定要删除数据吗?(请输入y/n)"  rep

printf "\n您输入的字符：${rep}"